#pragma once
#include "Stmt.h"
#include "Token.h"
#include "RTL.h"
class Expr :
	public Stmt
{
public:
	Token* op;
	Expr();
	Expr(Token* op);
	~Expr();

	virtual void gen(Label* s, Label* t);
	virtual Expr* reduce();
	virtual void jumping(Label* t, Label* f);
};

class Constant :
	public Expr
{
public:
	int value;
	Constant(Token* token);
	~Constant();

	virtual string ToRTL();
};

